package com.my.mygaode

import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity

/**
 * @ClassName LoginActivity
 * @Description TODO
 * @Author mwj
 * @Date 2023/7/18 16:43
 * @Version 1.0
 **/
class SettingsActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_settings)
        findViewById<View>(R.id.logout).setOnClickListener {
            LocationHelper.instance.destroy()
            startActivity(Intent(this, LoginActivity::class.java))
            BaseApplication.get().exit(LoginActivity::class.java.name)

        }
    }
}